package edu.sctu.xialei.May.day20150508one;

/**
 * Created by Administrator on 2015/5/8/0008.
 */
public class TextTwo {

    public int   counter(TextOne num){

        int sum = 0;
        for (int i = 0; i <= num.num ; i++) {
            sum = sum+i;

        }
        return sum;
}
}
